package com.regvision.contacts.main;

import com.regvision.contacts.R;
import com.regvision.contacts.demo.DemoFragment;

import android.os.Bundle;
import android.support.v4.app.FragmentActivity;

public class ContactsActivity extends FragmentActivity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_demo);

		if (savedInstanceState == null) {
			getSupportFragmentManager()
			.beginTransaction()
			.add(R.id.container, DemoFragment.newInstance(this, (ContactsApplication)getApplication()))
			.commit();
		}
		
	}

}
